package com.doudou.dubbo.samples.frontent.api;

import com.doudou.dubbo.samples.detail.po.Item;
import com.doudou.dubbo.samples.order.po.OrderDetail;
import om.doudou.dubbo.samples.user.po.User;

public interface ShopService {

    boolean register(String username, String password, String realName, String mail, String phone);

    boolean login(String username, String password);

    User getUserInfo(String username);

    boolean timeoutLogin(String username, String password);

    Item checkItem(long sku, String username);

    Item checkItemGray(long sku, String username);

    OrderDetail submitOrder(long sku, int count, String address, String phone, String receiver);
}
